package com.j1903.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author cy
 * @since 2021-12-13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class Lunbo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 图片路径
     */
    @TableField("imgPath")
    private String imgPath;

    @TableLogic
    private Integer deleted;

    /**
     * 创建时间
     */
    @TableField(value = "createdDate", fill = FieldFill.INSERT)
    private Date createdDate;

    /**
     * 修改时间
     */
    @TableField(value = "updatedDate", fill = FieldFill.INSERT_UPDATE)
    private Date updatedDate;


}
